// components/we-ui/we-popup/index.js
Component({
  options: {
    addGlobalClass: true,
    multipleSlots: true
  },
  properties: {
    show: Boolean,
    showMore: Boolean,
    title: String,
    showRight: Boolean
  },
  data: {

  },
  methods: {
    close() {
      this.setData({
        show: false
      })
    },

    onConfirm() {
      this.close()
      this.triggerEvent('confirm')
    }
  }
})